import http from '@/libs/http'
// 用户登录
export const loginApi = (data) => {
	return http({
		url: `/member/save`,
		data,
		method: "POST",
	})
}
// 获取手机号
export const getPhoneApi = (data) => {
	return http({
		url: `/wechat/phone_number`,
		data
	})
}

// 获取OpenId
export const getOpenIdApi = (data) => {
	return http({
		url: `/wechat/code2session`,
		data
	})
}
